//
//  ClickBtn.m
//  app001
//
//  Created by xionghao on 15/10/15.
//  Copyright © 2015年 xionghao. All rights reserved.
//

#import "ClickBtn.h"

@implementation ClickBtn

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(CGRect)imageRectForContentRect:(CGRect)contentRect{
    CGFloat x=(contentRect.size.width-24)/2;
    CGFloat y=(contentRect.size.height-24)/2;
    return CGRectMake(x, y, 24, 24);
}

@end
